package cn.watson.system.query;

import cn.watson.basic.query.BaseQuery;
import lombok.Data;

@Data
public class DetailQuery extends BaseQuery {

    // 用于 抽屉分页
    private Integer detailCurrentPage = 1;

    private Integer detailPageSize = 5;

    private Integer typesId;

    @Override
    public Integer getStart(){
        return (this.detailCurrentPage - 1) * this.detailPageSize;
    }
}
